package com.markerhub.service;

import com.markerhub.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.markerhub.views.CommentView;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 关注公众号：MarkerHub
 * @since 2021-04-10
 */
public interface CommentService extends IService<Comment> {
    public List<CommentView> getCommentList(Integer blogId);
    public void deleteComment(Integer commentId,Integer blogId);
    public void addComment(Integer uid,Integer blogId,String content,Integer parentCommentId);
}
